package com.ruoyi.project.paea.signature.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 有权人签字管理对象 paea_para_authorized_signature
 *
 * @author shangkun.cui
 * @date 2020-04-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "paea_para_authorized_signature")
public class PaeaParaAuthorizedSignature extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(value = "id")
    private String id;

    /** 机构号 */
    @Excel(name = "机构号")
    private String orgCode;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String orgName;

    /** 授权人职位 */
    @Excel(name = "授权人职位")
    private String position;

    /** 授权人姓名 */
    @Excel(name = "授权人姓名")
    private String name;

    /** 授权人签字图片名 */
    private String signatureName;

    /** 授权人签字图片路径 */
    private String signaturePath;

    /** 父机构号 */
    private String orgPath;

    /** 状态(0-全部，1-待用，2-启用，3-停用) */
    @Excel(name = "状态", readConverterExp = "0=全部，1")
    private Integer status;

    /** 影像启用日期 */
    @Excel(name = "影像启用日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;

    /** 影像停用日期 */
    @Excel(name = "影像停用日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    /** 机构号 */
    @Excel(name = "审批意见")
    private String approRemark;
}
